package com.ruoyi.personnel.enums;

/**
 * 预约状态
 * @author hyj
 */
public enum VisitStatus {
    APPOINTMENT(1, "预约"), PASS(2, "通过"), VISITED(3, "已访问"),OVERDUE(4, "已过期"),REFUSE(5, "已拒绝");
    // (1:预约,2:通过,3:已访问,4:已过期,5:已拒绝)
    private final Integer code;
    private final String info;

    VisitStatus(Integer code, String info) {
        this.code = code;
        this.info = info;
    }
    public Integer getCode(){
        return code;
    }

    public String getInfo(){
        return info;
    }

}

